﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using EyFramework.Sys.Core.Dao;
using EyFramework.Sys.Entity;
using SqlSugar;

namespace EyFramework.Sys.Core.Service
{
    /// <summary>
    ///  SYS_CONFIG表的服务实现类
    /// </summary>
    public class SysConfigService : BaseHisService, ISysConfigService
    {
        protected readonly ISysConfigDao _SysConfigDao;

        public SysConfigService(ISysConfigDao sysConfigDao)
        {
            _SysConfigDao = sysConfigDao;
        }

        public List<SysConfig> SelectAllConfigs()
        {
            return _SysConfigDao.GetList();
        }
    }
}